home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 7: Sunsite / Linux Cubed Series 7 - Sunsite Vol 1.iso / system / shells / scsh-0.4 / scsh-0 / scsh-0.4.2 / infix / packages.scm next >
Text File  |  1995-10-13  |  859b  |  30 lines

  1. ; Copyright (c) 1993, 1994 Richard Kelsey and Jonathan Rees.  See file COPYING.
  2.  
  3. ; Infix stuff
  4.  
  5. (define-structure tokenizer (export make-tokenizer-table
  6.                     set-up-usual-tokenization!
  7.                     set-char-tokenization!
  8.                     tokenize)
  9.   (open scheme records signals defpackage ascii)
  10.   (access primitives)
  11.   (files tokenize))
  12.  
  13. (define-structure pratt (export toplevel-parse
  14.                 parse
  15.                 make-operator
  16.                 make-lexer-table set-char-tokenization!
  17.                 lexer-ttab define-keyword define-punctuation
  18.                 prsmatch comma-operator delim-error erb-error
  19.                 if-operator
  20.                 then-operator else-operator parse-prefix
  21.                 parse-nary parse-infix
  22.                 parse-matchfix end-of-input-operator
  23.                 port->stream)
  24.   (open scheme records signals tokenizer tables)
  25.   (files pratt))
  26.  
  27. (define-structure sgol (export sgol-read sgol-repl)
  28.   (open scheme signals pratt)
  29.   (files sgol))
  30.